-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CI build #6165
Fix CI build #6165
Conversation
I can't reproduce it locally. So, I am going to test it with CI. |
Hi @olexii4 . FYI the repo was just moved to the |
I could not reproduce it locally either.
Perfect timing 😄. Shall we revert the PR? |
Nice that you found the fix, but can you explain why it worked locally and not from the CIs? |
@kittaakos I cannot tell exactly(ideas only). I just fixed an error from the CI log. |
It was a test failure. We do not run the tests :/
I did not know it either. When we load the
(from debug console ☝️) However, the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't reproduce it locally. So, I am going to test it with CI.
@olexii4 I can confirm that it fails on master when executing the tests:
$ npx run test @theia/core
...
/Users/vincentfugnitto/workspace/theia/packages/core/lib/browser/theming.js:43
require('../../src/browser/style/materialcolors.css').use();
^
TypeError: require(...).use is not a function
at Object.<anonymous> (/Users/vincentfugnitto/workspace/theia/packages/core/lib/browser/theming.js:43:55)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Module.replacementCompile (/Users/vincentfugnitto/workspace/theia/node_modules/nyc/node_modules/append-transform/index.js:58:13)
at module.exports (/Users/vincentfugnitto/workspace/theia/node_modules/nyc/node_modules/default-require-extensions/js.js:8:9)
at Object.<anonymous> (/Users/vincentfugnitto/workspace/theia/node_modules/nyc/node_modules/append-transform/index.js:62:4)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at Module.require (/Users/vincentfugnitto/workspace/theia/node_modules/monaco-languageclient/lib/register-vscode.js:12:28)
at require (internal/modules/cjs/helpers.js:22:18)
...
On a separate note, can you update the PR message and description to accurately describe the fix?
Looking back at the PR in history, "Fix CI build" won't say much as to what the problem was (in an effort to not repeat the problem again).
2ba7b28
to
c934033
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's merge as soon as travis is green
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
c934033
to
a7259d9
Compare
Signed-off-by: Oleksii Orel oorel@redhat.com
What it does
Fix CI build.
How to test
Review checklist
Reminder for reviewers